//
//  IntervalInfo.h
//  Seizure
//
// Information Gathered over a 1 second interval

#import <UIKit/UIKit.h>

@interface IntervalInfo : UIAlertView
{
    double minHeightThreshold;

    double averageMaxValuesX;
    double varianceX;
    double freqX;
    
    double averageMaxValuesY;
    double varianceY;
    double freqY;
    
    double averageMaxValuesZ;
    double varianceZ;
    double freqZ;

    
    
    double averageMinValuesX;
    double averageMinValuesY;
    double averageMinValuesZ;
    int timesChangedX;
    int timesChangedY;
    int timesChangedZ;
}
@property double averageMaxValuesX;
@property double averageMaxValuesY;
@property double averageMaxValuesZ;

@property double varianceX;
@property double varianceY;
@property double varianceZ;

@property double freqX, freqY, freqZ;

-(id)initWithIntervalDataForX:(NSMutableArray*)xdata forY:(NSMutableArray*)ydata forZ:(NSMutableArray*)zdata;
-(void)parseData:(NSMutableArray*)xdata forY:(NSMutableArray*)ydata forZ:(NSMutableArray*)zdata;

-(void)setXCharacteristics:(NSMutableArray*)xdata;
-(void)setYCharacteristics:(NSMutableArray*)ydata;
-(void)setZCharacteristics:(NSMutableArray*)zdata;

@end
